#!/bin/bash
git pull origin master
git checkout master
mvn clean install
commitid=`git rev-parse --short HEAD`
reg="asia.gcr.io/dongya/epay/rechage"

docker build -f DockerfileDongya -t $reg:$commitid .
docker push  $reg:$commitid 

echo $reg:$commitid
